public class Demo01 {
    public static void main(String[] args) {
        System.out.print("zhangsan");
        System.out.println('男');
        System.out.println("18岁");
        System.out.print(1.75);
        System.out.println(60);

        int a = 100;
        long b = a;
        float c = b;
        System.out.println(c);

        double x =3.14159;
        int y = (int) x;
        byte z = (byte) 130;
        System.out.println("y = " + y);
        System.out.println("z = " + z);

        short s1 = 10;
        short s2 = 20;
        short s3 =(short) (s1 + s2);
        System.out.println(s3);

        String name = "Ton";
        System.out.println("Hello," + name + "!");

        System.out.println("Ja" + "va" + " " + "8");

        System.out.println(1 + 2 + "3");
        System.out.println("1" + 2 + 3);
    }
}
